<?php
/**
 * @package PHPKit.
 * @author: mawenpei
 * @date: 2016/11/28
 * @time: 11:44
 */
return [
    'host'=>'0.0.0.0',
    'port'=>9501,
    'process_name'=>'huo-http-server:master',
    'manager_process_name'=>'huos-http-erver:manager',
    'log_path'=>__DIR__ . '/huoserver.log',
    'pid_path'=>__DIR__ . '/huoserver.pid',
    'framework_adapter'=>'php',
    'thinkphp'=>[
        'server_start_items'=>[],
        'worker_start_items'=>[],
        'app_path'=>'/mnt/wwwroot/tp5/trunk/application/',
        'runtime_path'=>'/mnt/wwwroot/tp5/runtime/',
        'conf_path'=>'/mnt/wwwroot/tp5/trunk/config/',
        'tp_path'=>'/mnt/wwwroot/tp5/trunk/thinkphp/'
    ],
    'php'=>[
        'server_start_items'=>[],
        'worker_start_items'=>[],
        'app_path'=>__DIR__,
    ],
    'process_list'=>[
        'a'=>[
            'class'=>'\\abcTask',
            'params'=>[]
        ],
        'b'=>[
            'class'=>'\\abcTask',
            'params'=>[]
        ],
        'c'=>[
            'class'=>'\\abcTask',
            'params'=>[]
        ]
    ],
    'setting'=>[
        'worker_num'=>8,
        'task_worker_num'=>'4',
        'max_request'=>1000,
        'daemonize'=>1,
        'log_file'=>__DIR__ . '/huohttp.log',
        'user'=>'www',
        'group'=>'www',
        //'chroot'=>__DIR__,
        'upload_tmp_dir'=>'/tmp'
    ]
];